class student(object):
    count=0
    def __init__(self,name):
        self.name=name
        student.count+=1
    def number(self):
        print('student number:',student.count)

A=student('zhangsan')
A.number()
B=student('lisi')
B.number()
C=student('wanger')
C.number()


